namespace('js.lang');

js.lang.Method = function(name, _abstract, _private, _static, source) {
  this._name = name;
  this._abstract = _abstract;
  this._private = _private;
  this._static = _static;
  this._source = source;
};

js.lang.Method.prototype = {
  getName: function() {
    return this._name;
  },

  getSource: function() {
    return this._source;
  },

  isAbstract: function() {
    return this._abstract;
  },

  isPrivate: function() {
    return this._private;
  },

  isStatic: function() {
    return this._static;
  }
};